package o;

import android.view.View;
import android.view.View.OnClickListener;

public class ckt implements OnClickListener {
    private OnClickListener ˊ;
    private long ˋ = 0;
    private int ˏ = 1000;

    public ckt(OnClickListener onClickListener) {
        this.ˊ = onClickListener;
    }

    public ckt(OnClickListener onClickListener, int i) {
        this.ˊ = onClickListener;
        this.ˏ = i;
    }

    public void onClick(View view) {
        if (view != null) {
            long currentTimeMillis = System.currentTimeMillis();
            if (Math.abs(currentTimeMillis - this.ˋ) > ((long) this.ˏ) && this.ˊ != null) {
                this.ˋ = currentTimeMillis;
                this.ˊ.onClick(view);
            }
        }
    }
}
